/*
	面积图
*/
define(
	[
		'require',
		'apm/ui/business_chart_line'
	],
	function (require) {
		"use strict";

		var forEach = Ember.EnumerableUtils.forEach;

		var AreaView = require('apm/ui/business_chart_line').extend({
			_translateSeries: function(option){
				this._super(option);
				option.series[0].itemStyle = {
					normal: {
						areaStyle: {color : '#A3E1D4', type: 'default'}
					}
				};
			},
			_translateOther: function(option){
				this._super(option);
				option.color = ['#1BB394']
			}
		});

		APM.ui.Area = AreaView;

		return AreaView;
	}
);